@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './basics.scss';

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

div:focus {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
/**loading全局更改*/
.el-loading-spinner .circular{
  display: none;
}
.el-loading-mask{
  position: fixed;
  //background-color:rgba(255,255,255,0.6)
}
.el-loading-spinner{
  width: 150px !important;
  height: 150px !important;
  background: url(../assets/images/circular-gif.gif) no-repeat center/cover;
  position: fixed;
  top: 50%;
  margin-left: -75px !important;
  left: 50%;
  margin-top: -75px !important;
}
//main-container全局样式
.app-main {
  min-height: 100%
}
/* 解决element-ui的table表格控件表头与内容列不对齐问题 */
.el-table th.gutter{
  display: table-cell!important;
}
.app-container {
  padding: 20px;
}

//搜索栏样式
.filter-container .input-width {
  width: 203px;
}

.filter-container .input-width-short {
  width: 100px;
}
 //table列表中， 当内容过长被隐藏时 ，hover内容时显示的样式/
.el-tooltip__popper {
  max-width: 800px;
  text-align: justify;
  line-height: 25px;
  font-size: 14px;

}
//操作栏样式
.operate-container {
  margin-top: 20px;
}

.operate-container .btn-add {
  float: right;
}

//表格栏样式
.table-container {
  margin-top: 20px;
}

//批量操作栏样式
.batch-operate-container {
  display: inline-block;
  margin-top: 20px;
}

//分页栏样式
.pagination-container {
  display: inline-block;
  float: right;
  margin-top: 20px;
  margin-bottom: 20px;
}

//添加、更新表单样式
.form-container {
  position: absolute;
  left: 0;
  right: 0;
  width: 720px;
  padding: 35px 35px 15px 35px;
  margin: 20px auto;
}

//主标题
.font-extra-large {
  font-size: 20px;
  color: #303133;
}

//标题
.font-title-large {
  font-size: 18px;
  color: #303133;
}

//小标题
.font-title-medium {
  font-size: 16px;
  color: #303133;
}

//正文
.font-medium {
  font-size: 16px;
  color: #606266;
}

//正文
.font-small {
  font-size: 14px;
  color: #606266;
}

//正文（小）
.font-extra-small {
  font-size: 13px;
  color: #606266;
}

.color-main {
  color: #409EFF;
}

.color-success {
  color: #67C23A;
}

.color-warning {
  color: #E6A23C;
}

.color-danger {
  color: #F56C6C;
}

.color-info {
  color: #909399;
}

/* 全局样式 */
.linkA {
  color: #409EFF;
  cursor: pointer;
}

.linkA:hover {
  color: #409EFF;
  opacity: .9
}

[class*=" el-icon-"],
[class^=el-icon-] {
  margin-right: 5px;
}

//表单页面输入框长度
.input80 {
  width: 80px;
}

.input100 {
  width: 100px;
}

.input300 {
  width: 300px;
}

.input260 {
  width: 260px;
}

//表单输入框行内排序
.inlineCt {
  display: inline-block;
}

.inlineLabel /deep/ .el-form-item__content {
  margin-left: 50px !important;
}

.inlineLabel /deep/ .el-form-item__label {
  width: 50px !important;
  padding-right: 0;
}

.inlineLabel80 /deep/ .el-form-item__content {
  margin-left: 80px !important;
}

.inlineLabel80 /deep/ .el-form-item__label {
  width: 80px !important;
  padding-right: 0;
}

.inlineLabel10 /deep/ .el-form-item__content {
  margin-left: 10px !important;
}

.inlineLabel10 /deep/ .el-form-item__label {
  width: 10px !important;
  padding-right: 0;
}

/* 表单可编辑内容 */
.edit-ct {
  cursor: pointer;
}

.edit-ct:hover {
  color: #409eff;
}

.edit-ct>i,
.edit-ct .svg-icon {
  color: #409eff;
}

/* input搜索按钮 */
.search-btn {
  position: relative;
  left: -46px;
  width: 30px;
  height: 39px;
  line-height: 39px;
  padding: 0 20px;
}

.search-btn [class*="el-icon-"],
.search-btn [class^=el-icon-] {
  position: relative;
  right: 7px;
  font-size: 16px;
}

.search-btn-mini {
  position: relative;
  left: -41px;
  width: 30px;
  height: 32px;
  line-height: 32px;
  padding: 0 17px;
}

.search-btn-mini [class*="el-icon-"],
.search-btn-mini [class^=el-icon-] {
  position: relative;
  right: 8px;
  font-size: 16px;
}

.greenText {
  color: #67c23a;
}

.redText {
  color: #f56c6c;
}

.gradText {
  color: #909399;
}

// 输入框右侧提示文字
.input-right {
  position: absolute;
  right: -20px;
}

.item-inline {
  display: inline-block
}

.item-inline /deep/ .el-form-item__content {
  display: inline-block
}

/* 页面顶部提示语 */
.hint-ct {
  background-color: #f5f7fa;
}

.hint-ct-item {
  margin-bottom: 10px;
}

.hint-ct-item:last-of-type {
  margin-bottom: 0;
}

.hint-ct-item span {
  font-size: 14px;
}

.amap-sug-result {
  z-index: 2024;
}

/* 弹窗底部按钮 向右 */
.dialogCt /deep/ .el-dialog__footer {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.el-submenu__title /deep/ .mark {
  margin-right: 20px;
}
/***/
.is-top.is-active{
  background: #409EFF;
  color: #fff;
}
.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2), .el-tabs--bottom .el-tabs__item.is-top:nth-child(2), .el-tabs--top .el-tabs__item.is-bottom:nth-child(2), .el-tabs--top .el-tabs__item.is-top:nth-child(2),.el-tabs--bottom .el-tabs__item.is-bottom:last-child, .el-tabs--bottom .el-tabs__item.is-top:last-child, .el-tabs--top .el-tabs__item.is-bottom:last-child, .el-tabs--top .el-tabs__item.is-top:last-child{
  padding: 0 20px;
}
.el-tabs__active-bar.is-top{
  background: transparent;
}
